Stellar可控夜间模式
金毛狗前言
在手机上习惯用深色,所以给blog也添加一个调整开关,由于最新的主题包括夜间文件,所以我们只要添加开关就行了,如果是新版stellar主题,闭眼如即可·
上手
先把这个官方文档的页脚加入blog
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
| footer: social: footer: social: github: icon: '<img src="/assets/placeholder/social/08a41b181ce68.svg"/>' url: https:// music: icon: '<img src="/assets/placeholder/social/3845874.svg"/>' url: https:// unsplash: icon: '<img src="/assets/placeholder/social/3616429.svg"/>' url: https:// comments: icon: '<img src="/assets/placeholder/social/942ebbf1a4b91.svg"/>' url: https:// theme: icon: default:theme onclick: 'switchTheme()'
|
就完事了!